Page({
	data:{
		imgPath:'',
		words:'',
		words2:'',
		title:''
	},
  onLoad: function (options) {
    if (options.data) {
      const item = JSON.parse(decodeURIComponent(options.data));
			this.setData({
				imgPath : item.imgPath,
				words:item.words,
				words2:item.words2,
				words3:item.words3,
				title:item.title
			})	
    }
		const dynamicTitle = this.data.title;
		wx.setNavigationBarTitle({
      title: dynamicTitle
    });
  }
});
